package com.kangye.learnteacher.mapper;

import com.kangye.learnteacher.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface LoginMapper {

    /**
     * 用户登录
     * @param UserName
     * @return
     */
    User userLogin(@Param("userName") String UserName);
}
